﻿using log4net;
using System.Threading.Tasks;

namespace Quartz.Server
{
    [DisallowConcurrentExecution]
    public class EricSimpleJob : IJob
    {
        private static readonly ILog logger = LogManager.GetLogger(typeof(SampleJob));
        public Task Execute(IJobExecutionContext context)
        {
            logger.Info("更新索引成功....");
            return Task.CompletedTask;
        }
    }
}